package com.collection;

public class Cat extends Animal{

    public void climbTree(){
        System.out.println("我是"+this.name+",我会爬树");
    }
    @Override  //重写的注解
    public void run(){
        super.run();
        System.out.println("我是"+this.name+",我能跳的很高");
    }
}
